//#f6f6f6
//#feecaa
//#fefaee
//#fffbb9
import Plugin 		from './plugin'
export const Web = {
	geo:"geo-runtime",
	minimum:0,
	theme:"#25B864",
	//canvas 距离计算比例50/1
	ratio:50,
	r:4,
	zoom:0.5,
	cvsLineHeight:20,
	timestamp :Date.now().toString().slice(0,5),
	prefix:"geo",
	iconPrefix:"icon",
	// iconfong字体fontfamily
	iconfontFamily:"geoicon"
}
export const UI = {
	warnColor:"#a60b0b",
	btnBg:"#efefef",
	disabledColor:"#efefef55",
	black1:"#efefef",
	theme:"#25B864",
	lightFcolor:"#969696",
	ipbcolor:"#969696",
	dividBcolor:"#32353F",
	indentBcolor:"#D6DBDF",//border-color
	fcolor1:"#2C3E50",//font color
	fcolor:"#636363",
	// headerBg:"#545454",
	// black:"#32353F",
	headerBg:"#32353F",
	black:"#393D49",
	ffamily:"PingFang SC,Hiragino Sans GB,Helvetica Neue,Microsoft Yahei,WenQuanYi Micro Hei,sans-serif",
}
export const PluginBarCfg = {
	// 默认顶部的工具栏插件
	plugins:[Plugin.fullScreen,Plugin.scroll,Plugin.grid,Plugin.fill]
}
export const Context = {
	lineWidth : 2,
	fillStyle:Web.theme,
	strokeStyle:Web.theme,
	lineDash:[],
	fontSize:14,
	textBaseline:"middle",
	imageSmoothingEnabled : true,
	lineCap:"round",
	lineJoin:"round",
	zoom:1,
	ratio:Web.ratio,
	visible:true
}
export const PointCfg = {
	x:0,
	y:0,
	r:Web.r,
	s:0,
	e:2*Math.PI,
	at:false,
	//弧度，跟线有关的属性
	a:0,
	move:true,
	text:""
}




































